#ifndef UTIL_H
#define UTIL_H

#include <GL/gl.h>
#include <SDL/SDL_ttf.h>
#include "Vertex3D.h"

void vec3_prod (const Vertex3D& v1, const Vertex3D& v2, GLdouble* result);
void normalize (GLdouble* vec3);
int redondear(double x);
int nextpoweroftwo(int x);
void SDL_GL_RenderText(char *text, TTF_Font *font, SDL_Color color, SDL_Rect *location);
void glEnable2D();
void glDisable2D();
#endif
